#!/bin/bash

bin=runParseTests
bdir=$(pwd)
for token in $(find . -type d); do
if [ -f ${token}/${bin} ]; then
pushd ./ > /dev/null
cd ${token}
echo +===================================================================+
cdir=$(pwd)
echo Running all tests under: .${cdir#${bdir}}
echo + = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = +
chmod u+x ./${bin}
./${bin}
chmod u-x ./${bin}
popd > /dev/null
fi
done


